Sim

data class Sim(val slotId: String, val imei: String? = null, val apns: List<Apn> = arrayListOf()) : Parcelable

A sim card slot for the current device

Constructors

Link copied to clipboard
constructor(slotId: String, imei: String? = null, apns: List<Apn> = arrayListOf())

Properties

Link copied to clipboard
val apns: List<Apn>

A list of the APNs currently active for this sim card slot

Link copied to clipboard
val imei: String? = null

the imei of the inserted sim card. If this value is null it means that the sim card slot is currently empty

Link copied to clipboard

the id of the sim card slot as defined by the system

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)